package org.bt.common.validator.number;


import java.math.BigDecimal;

/**
 * MinValidatorForBigDecimal
 * <p>
 * Created on 2020/1/9
 *
 * @author tongw
 */
public class MinValidatorForBigDecimal extends AbstractMinValidator<BigDecimal> {

    @Override
    protected int compare(BigDecimal number) {
        return NumberComparatorHelper.compare(number, minValue);
    }
}
